package com.java.base.exercise.current;

/**
 * @Author RenPu
 * @Date 2021/9/2 14:13
 * @Version 1.0
 * @Description:
 **/
public class Thread_003 implements Runnable {

    public static void main(String[] args) {
        Thread.setDefaultUncaughtExceptionHandler(new UncatchException());
        new Thread(new Thread_003()).start();

    }


    @Override
    public void run() {
        throw new RuntimeException();
    }
}
